<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ include file="houtai_mainhead.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="statics/css/manage.css" type="text/css"></link>
<script src="statics/js/usermanage.js"></script>
<title>Insert title here</title>
<style type="text/css">
.dd{
width:200px;
height:50px;
}
</style>
<script src="statics/js/adminrole.js"></script>
<script type="text/javascript">
var a1="adminroledelete";
</script>
</head>

<body>

	
		<div class="main">
		<form  method="post">
			
			<div class="dd"></div>
			<a class="blueadd"    style="margin-top: -30px;" onclick="deletesome(2)" >-删除</a>
			<a class="blueadd" onclick="adminrole(1,2,this)"style="margin-top: -30px;" >修改</a>
		<a class="blueadd" onclick="tanchu(1,3)"style="margin-top: -30px;">+添加</a>
		<table>
				<thead>
					<tr>
						<th><input type="checkbox" onchange="checkAll(this)"></th>
						<th width="100%">管理员角色</th>
						
					</tr>
				</thead>

				<tbody>

					<c:forEach items="${adminrole}" var="role">
						<tr>
							<td><input type="checkbox" id="${role.ar_id }" onchange="check()" ></td>
							<td>${role.ar_name}</td>
							
							
						</tr>

					</c:forEach>
				</tbody>
			</table>
			</form>
		</div>
	


	<div  class="box">
		<form action="usermodify" method="post">
			<a class="x" onclick="msgbox1(0,this)"><img   width="40px" height="30px"  src="statics/image/yqs/close.png"></a>
			<table name="id" value="${param.id }">
				姓名：
				<input id="r1" type="text" name="uname"> 电话：
				<input id="r2" type="text" name="utel"> 邮箱：
				<input id="r3" type="text" name="uemail">
				<input id="r4" type="hidden" name="id">
			</table>
			<button class="btn">确定</button>
		</form>
	</div>


	<div class="box">
		<form action="adminroletianjia?pid=2" method="post">
			<a class="x" onclick="adminrole(0,2,this)"><img   width="40px" height="30px"  src="statics/image/yqs/close.png"></a> 
			<label>修改角色</label><input
				type="text" name="arname">
				<input type="hidden"  id="roleid" name="arid">
			<button class="btn">确定</button>
		</form>
	</div>



	<div  class="box">
		<form action="adminroletianjia?pid=1" method="post">
			<a class='x' onclick="tanchu(0,3)"><img   width="40px" height="30px"  src="statics/image/yqs/close.png"></a> 
			 <label>添加角色</label><input
				type="text" name="arname">
			<button class="btn">确定</button>
		</form>
	</div>




	<div id="temp"></div>

</body>
</html>